<h1>Listing All Custom Fields</h1>
<p>You can use custom fields in both the news and pages section to add more functionality to your templates or posts. In a page template you can access a custom field you create here with the following code:</p>
<pre>
<code>
&lt;?php
$myfield = $pages-&gt;custom_field(&apos;my field&apos;);
echo $myfield-&gt;value();
// OR if its a date field
echo $myfield-&gt;date(); // formatted with http://php.net/strftime %D by default
// OR you own specific formatting
echo $myfield-&gt;date(&quot;%m&quot;);
?&gt;
</code>
</pre>
<?php
    echo  content_tag('p',link_to('Add New','modify'));

    $report->set_action('view',url_for('view'));
    $report->set_action('edit',url_for('modify'));
    $report->set_action('delete',url_for('delete'));
    echo  $report->Render(30);
?>